package com.ddtech.exception;

public class BizPreconditions {
    public BizPreconditions() {
    }

    public static void check(final boolean b,String msg) {
        if (b) {
            throw new BadRequestException(msg);
        }
    }
}
